package lagou.homework.mongodb.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @Author 梅松
 * @Date 2022/1/8 23:41
 */
@Data
@Document("lagou_resume_datas")
public class LagouResume {
    @Id
    private String id;
    private String name;
    private String city;
    private String birthday;
    private Integer expectSalary;

    @Override
    public String toString() {
        return "LagouResume{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", city='" + city + '\'' +
                ", birthday='" + birthday + '\'' +
                ", expectSalary='" + expectSalary + '\'' +
                '}';
    }
}
